package com.hornsun.domain.dbo;

import java.util.Date;

public class Thumbnail {
    private String thumbnailGuid;

    private String path;

    private Date uploadTime;

    public String getThumbnailGuid() {
        return thumbnailGuid;
    }

    public void setThumbnailGuid(String thumbnailGuid) {
        this.thumbnailGuid = thumbnailGuid == null ? null : thumbnailGuid.trim();
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path == null ? null : path.trim();
    }

    public Date getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Date uploadTime) {
        this.uploadTime = uploadTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", thumbnailGuid=").append(thumbnailGuid);
        sb.append(", path=").append(path);
        sb.append(", uploadTime=").append(uploadTime);
        sb.append("]");
        return sb.toString();
    }
}